﻿using System.Threading.Tasks;

namespace DX
{
    public interface IMessageCenter
    {
        Task Notification(string message);
        Task Show(string message);
        Task Show(string title,string message);

        Task<bool> Confirmation(string message);
        Task<bool> Confirmation(string title, string message);
        Task<OptionItem> ShowOptions(string title,string message, OptionItem[] options);
        Task<OptionItem> ShowOptions(  string message, OptionItem[] options);
    }
    public struct OptionItem
    {
        public string Lable { get; set; }
        public string Value { get; set; }
    }
}